Skip to content

Add AGENTS.md, shared .ai workflows, and security review skill - #5

Merged
legit-ninja merged 1 commit into
mainfrom
feat/security-review
Nov 18, 2026
Merged

legit-ninja merged 1 commit into
mainfrom
feat/security-review

Conversation

@legit-ninja

Copy link
Copy Markdown

AGENTS.md documents the project layout, CI commands, and conventions for any AI agent. The .ai directory holds tool-agnostic playbooks, starting with a security review tailored to this library's threat model. The Claude Code skill and CLAUDE.md wrap these shared files.

Add AGENTS.md and a CLAUDE.md that imports it, with the project layout,
commands, and conventions for AI agents and contributors.

Document the library's threat model in docs/explanation/security-model.md,
mapping each control to its code and tests, and add a register of
deliberate allowances, held privileges, controls owned by callers,
residual risks, and fixed findings in
docs/reference/security-allowances.md.

Add a tool-agnostic security review workflow in .ai/ with change and
baseline modes, false-positive rules, an agent security policy, and a
Claude Code skill that wraps them. The review reads the register, the
security model, and its own instructions from the base ref, so a branch
cannot pre-allow its own findings, and it always reports changes to the
review policy, agent instructions, and CI. The skill pre-approves exact
git commands only. Open findings stay in the gitignored local/ report
until their fix ships; findings in upstream code are reported privately
first.

Signed-off-by: Jeremy Lee <jeremy.lee1664@gmail.com>

@adamhackl adamhackl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we intentionally want to replace the claude built-in security-review skill, or should we just augment that?

@legit-ninja

Copy link
Copy Markdown
Author

Do we intentionally want to replace the claude built-in security-review skill, or should we just augment that?

@adamhackl Yes, this override is intentional. The default Claude security review has a number of built in exceptions and only covers basic security checks.

@legit-ninja
legit-ninja merged commit 0c98e04 into main Nov 18, 2026
4 checks passed
@legit-ninja
legit-ninja deleted the feat/security-review branch November 30, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants